﻿<?xml version="1.0" encoding="utf-8" ?>
<hibernate-mapping xmlns="urn:nhibernate-mapping-2.2" assembly="NLite.NHPersistenceTest" namespace="NLite.NHPersistenceTest">
  <class name="UserInfo">
    <id name="Id">
      <generator class="guid.comb"></generator>
    </id>
    <version name="Version"></version>
    <property name="Name"></property>
    <property name="Age"></property>
    <bag name="Books" cascade="all" inverse="true">
      <key column="UserId"></key>
      <one-to-many class="BookInfo"/>
    </bag>
  </class>
</hibernate-mapping>
